<%@ page language="java" contentType="text/html; charset=utf-8" isELIgnored="false"
    pageEncoding="utf-8"%>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	 <%int i = 1; %>
  <div id="workspace" class="col-md-8">
   <table class="table table-striped">
	<h3><caption>正在等待审核入库的资产:</caption></h3>
	<thead>
		<tr>
			<th>序号</th>
			<th>资产名称</th>
			<th>资产种类</th>
			<th>资产数量</th>
			<th>预存地址</th>
			<th>采购人名</th>
			<th>资产价值</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="asset" items="${sessionScope.inLoading }">
		<tr class="warning">
			<td><%=i++ %></td>
			<td>${asset.name }</td>
			<td>${asset.category }</td>
			<td>${asset.number }</td>
			<td>${asset.address }</td>	
			<td>${asset.purchaser }</td>
			<td>${asset.purchasingValue }</td>
		</tr>
		</c:forEach>
		<%session.removeAttribute("inLoading"); %> 
	</tbody>
   </table>
  </div>
</body>
</html>